אַשְׁרֵ֤י ׀ הַגֶּ֣בֶר אֲשֶׁר־תְּיַסְּרֶ֣נּוּ יָּ֑הּ וּֽמִתּוֹרָתְךָ֥ תְלַמְּדֶֽנּוּ׃
Heureux l’homme que tu redresses, Éternel, et que tu instruis dans ta loi!
Rashi on Psalms
Fortunate is the man Fortunate are the righteous who are afflicted under Your hands, provided that they engage in Torah and mitzvoth.